﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace HDVN5
{
    public partial class _Default : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.Cookies[FormsAuthentication.FormsCookieName] != null || Session["LOGIN_ID"]!=null)
            {
                HttpContext.Current.Session.Remove("LOGIN_ID");
                HttpContext.Current.Session.Abandon();
                HttpContext.Current.User = null;
                FormsAuthentication.SignOut();
            }
        }
    }
}